﻿

using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Dtos.Servers.Pushs;
/// <summary>
/// lg杭可推送数据
/// </summary>
[ProtoContract]
public class LgPushHkDto:PushEquipDto
{
    /// <summary>
    /// 设备所处的动作
    /// </summary>
    [ProtoMember(1)]
    public string Action { get; set; }
    /// <summary>
    /// 设备模式
    /// </summary>
    [ProtoMember(2)]
    public string Mode { get; set; }

    /// <summary>
    /// 物品
    /// </summary>
    [ProtoMember(3)]
    public string Obj { get; set; }
    /// <summary>
    /// 解析的数据
    /// </summary>
    [ProtoMember(4)]
    public string ExplainData { get; set; }
    /// <summary>
    /// 设备状态
    /// </summary>
    [ProtoMember(5)]
    public string EquipStatus { get; set; }
    /// <summary>
    /// 异常信息
    /// </summary>
    [ProtoMember(6)]
    public string ExMessage { get; set; }
}
[ProtoContract]
public class LgPushNetDto : PushEquipDto
{
    /// <summary>
    /// 设备所处的动作
    /// </summary>
    [ProtoMember(1)]
    public string Action { get; set; }
    /// <summary>
    /// 设备模式
    /// </summary>
    [ProtoMember(2)]
    public string Mode { get; set; }

    /// <summary>
    /// 物品
    /// </summary>
    [ProtoMember(3)]
    public string Obj { get; set; }
    /// <summary>
    /// 解析的数据
    /// </summary>
    [ProtoMember(4)]
    public string ExplainData { get; set; }
    /// <summary>
    /// 设备状态 R:Running  I:Idle  T:Trouble  P:Power on  O:Power off
    /// </summary>
    [ProtoMember(5)]
    public string EquipStatus { get; set; }

    /// <summary>
    /// 异常信息
    /// </summary>
    [ProtoMember(6)]
    public string ExMessage { get; set; }
}
